var ytCallback
var test = new Object()
test.refreshToken = function (obj) {
  callback = obj
  yt.refreshToken()
}
function refreshYtToken(token) {
    if (ytCallback != null) {
        ytCallback(token)
    }
}